package com.jxtc.enterprise.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "管理平台改变租户启用/禁用状态时需要传递的数据")
@Getter
@Setter
@ToString
public class TenantStateDTO {
    @NotBlank(message = "租户 ID 不能为空")
    @Schema(description = "租户 ID", example = "698ee133abc5a355ed3ced1607f6eb3c")
    private String tenantId;

    /**
     * 与 TenantStatusEnum 枚举中的状态对应
     */
    @NotNull(message = "请传递将要修改的租户状态")
    @Schema(description = "租户状态: 1(启用该租户), 2(禁用该租户)", example = "1")
    private Integer status;
}
